package BuilderPattern.extra;

public class Main {
    public static void main(String[] args) {
        Person person = new Person.Builder("张三", "男")
                .age("12")
                .money("1000000")
                .car("宝马")
                .build();//build可变，person不可变，build方法
    }
}
